<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加内容</title>
<load href="__PUBLIC__/css/bootstrap.min.css" />
<import type='css' file="css.main" />
<load href="__PUBLIC__/js/jquery-1.9.1.min.js" />
<load href="__PUBLIC__/js/jquery-ui.min.js" />
<import type='js' file="js.main" />
</head>

<body id="body">
<div class="main-frame">
	<div class="position">华人码 > 公共板块管理</div>
	<!-- 图片资源开始 -->
	<div class="floatBackground" id="floatBackground" style="display: none;">
		<div class="bounced">
		<label class="closeImgResurces">X</label>
		<iframe id="imgResourcesiframe" src="{:rtrim(U('Upload/index'),'.html')}" width="750" height="465" frameborder="0" scrolling="auto"></iframe>
		</div>
	</div>
	<!-- 图片资源结束 -->
	<div class="addobject">
		<div class="obj-form" style="width:100%;">
			<form name="form1" id="form1" action="{:U('Public/add')}" method="post" class="form-inline">
				<ul>
					<volist name='result' id='v' key='k'>
					<li>
						<label class="fl tle">
						<if condition="$k eq 1">电影：</if>
						<if condition="$k eq 2">商城：</if>
						<if condition="$k eq 3">政府：</if>
						</label>
						<span class="fl cnt">
						<input name="p_link[]" value="{$v.p_link}" class="form-control" placeholder="链接地址" style="width: 450px;"><em>*</em>
						<input type="hidden" name="p_sn[]" value='{$v.p_sn}'>
						</span>
					</li>
					<li>
						<label class="fl tle"></label>
						<span class="fl cnt"><input name="p_img[]" value="{$v.p_img}" id="thumbimg{$v.p_sn}" class="form-control" placeholder="缩略图地址" style="width: 450px;"><a class="browse" f='thumbimg{$v.p_sn}'>浏览···</a></span>
					</li>
					<li>
						<label class="fl tle"></label>
						<span class="fl cnt"><img src="{$v.p_img}" width="150" /></span>
					</li>
					<li class="oline"><span class="dividerline"></span></li>
					</volist>

					<li>
						<label class="fl tle">是否替换：</label>
						<span class="fl cnt">
							<input type="checkbox" name='xok' value='1'<if condition="$v.isc eq 1"> checked="checked"</if> style='width:20px; margin-top:8px;' />
						</span>
					</li>
					<li>
						<label class="fl tle">选择分账号：</label>
						<span class="fl cnt">
							<select name='fzh' class="template form-control">
								<option value='28'>山西频道</option>
							</select>
						</span>
					</li>
					
					<li class="submit">
						<label class="fl tle">&nbsp;</label>
						<span class="fl cnt"><input type="submit" value="保 存" class="submitbtn" /></span>
					</li>
				</ul>
			</form>
		</div>
	</div>

</div>
</body>
</html>
